﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="EmailUs.aspx.cs" Inherits="EWDTAssignment.EmailUs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width:100%;">
        <tr>
            <td colspan="3">
                Email Us</td>
        </tr>
        <tr>
            <td>
                Title:</td>
            <td>
                <asp:DropDownList ID="EmailUsDDL" runat="server">
                    <asp:ListItem>Mr.</asp:ListItem>
                    <asp:ListItem>Mrs.</asp:ListItem>
                    <asp:ListItem>Ms.</asp:ListItem>
                    <asp:ListItem>Dr.</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Name: </td>
            <td>
                <asp:TextBox ID="EmailUsNameTbx" runat="server" Width="380px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Contact Number:</td>
            <td>
                <asp:TextBox ID="EmailUsContactTbx" runat="server" Width="380px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Email Address:</td>
            <td>
                <asp:TextBox ID="EmailUsEaddressTbx" runat="server" Width="380px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="EmailUsEaddressTbx" Display="Dynamic" 
                    ErrorMessage="EmailAddress Is Required"></asp:RequiredFieldValidator>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Subject:</td>
            <td>
                <asp:TextBox ID="EmailUsSubject" runat="server" Width="380px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                Content:<br />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="EmailUsContentTbx" Display="Dynamic" 
                    ErrorMessage="*Content is necessary!"></asp:RequiredFieldValidator>
            </td>
            <td rowspan="4">
                <asp:TextBox ID="EmailUsContentTbx" runat="server" Height="328px" 
                    TextMode="MultiLine" Width="596px"></asp:TextBox>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style1">
                <asp:Button ID="EmailUsBtn" runat="server" onclick="EmailUsBtn_Click" 
                    Text="Email Us" Width="73px" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>
